<%@ page language="java" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
<html>
	<head>
		<title><s:text name="page.title.prefix" /> <s:property value="#pageTitle" /></title>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
		<meta http-equiv="pragma" content="no-cache">
		<meta http-equiv="cache-control" content="no-cache">
		<meta http-equiv="expires" content="0">
		<link type="text/css" rel="stylesheet" href="<%=request.getContextPath()%>/css/common.css" />
		<script type="text/javascript">
		<!--
		var context_path = "<%=request.getContextPath()%>";
		//-->
		</script>
		<script language="javascript" src="<%=request.getContextPath()%>/js/jquery.js" type="text/javascript"></script>
	
		<script type="text/javascript">
<!--
function authoriteCompany(id,name){
	if(id!="" && name!=""&& window.confirm("确定要审核通过商品/服务\""+name+"\"?")){
		document.location="<%=request.getContextPath()%>/manage/company/authorite.do?id="+id;
	}
}
//-->
</script>
	</head>
	<body>
		<h1>
			公司信息复核
		</h1>
		<p>
			你可以先查看公司信息,再到此页面点击复核即可。
		</p>
		<table width="95%" style="border: 1px solid blue;" border="1">
			<s:iterator value="companies" status="status">
				<tr>
					<td width="20">
						<s:property value="#status.index+1" />
					</td>
					<td>
						<a href="<%=request.getContextPath()%>/company/viewCompany.do?id=<s:property value="id"/>" target="_blank"> <s:property value="name" /> </a>
					</td>
					<td>
						<a href="#" onclick="javascript:authoriteCompany('<s:property value="id"/>','<s:property value="name"/>');"> 审核 </a>
					</td>
				</tr>
			</s:iterator>
		</table>
	</body>

</html>